{% if latest_blogs %}
<ul>
{% for blog in latest_blogs %}
<li>{{ blog.pub_date }}<a href="{% url 'blogs:content' blog.id %}">{{ blog.title }}</a></li>
{% endfor %}
</ul>
{% else %}
<p>No polls are available.</p>
{% endif %}